<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath }"/>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<style type="text/css">
    .table {border:1px solid #000; border-collapse:collapse;}
    .table tr{height: 40px;}
    .table td {border:1px solid #000;text-align:center;}
</style>
<div>单位：${gongYingShangMC}</div>
<div style="text-align:center;font-size:24px;font-family:宋体;font-weight: bold;margin:5px 0;">验&nbsp;&nbsp;收&nbsp;&nbsp;单</div>
<div style="text-align:right;margin:5px 0;">发票号：${faPiaoHao}</div>
<div style="text-align:center;margin:5px 0;">${dangQianRQ}</div>
<table class="table" cellspacing="0" cellpadding="0" style="width:100%;">
  <tr>
    <td rowspan="2" style="width:10%;">资产编码</td>
    <td rowspan="2" style="width:10%;">品名</td>
    <td rowspan="2" style="width:10%;">规格</td>
    <td rowspan="2" style="width:5%;">单位</td>
    <td rowspan="2" style="width:5%;">数量</td>
    <td rowspan="2" style="width:5%;">单价</td>
    <td colspan="11">金额</td>
  </tr>
  <tr>
    <td style="width:3%;">千</td>
    <td style="width:3%;">百</td>
    <td style="width:3%;">十</td>
    <td style="width:3%;">万</td>
    <td style="width:3%;">千</td>
    <td style="width:3%;">百</td>
    <td style="width:3%;">十</td>
    <td style="width:3%;">元</td>
    <td style="width:3%;">角</td>
    <td style="width:3%;">分</td>
  </tr>
  <c:forEach items="${data}" var="it">

  <tr>
    <td>${it.wuZi.ziChanBH }</td>
    <td>${it.wuZi.wuZiMC }  ${it.wuZi.pinPai }</td>
    <td>${it.wuZi.guiGeXH }</td>
    <td></td>
    <td>${it.shenQing.shenQingSL }</td>
    <td>${it.wuZi.wuZiYZ }</td>
    <c:forEach items="${it.jineDX}" var="item">
      <td>${item}</td>
    </c:forEach>
  </tr>
    </c:forEach>
  <tr>
    <td>合计金额</td>
    <td colspan="4">${zongJinE}</td>
    <td colspan="2">购置时间</td>
    <td colspan="9">${gouMaiRQ}</td>
  </tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;margin-top:20px;">
  <tr>
    <td style="width:70px;">负责人：</td>
    <td>${gkmbfzr}</td>
    <td style="width:70px;">验收人：</td>
    <td>${yanShouR }</td>
    <td style="width:70px;">收料人：</td>
    <td>${caiGouR}</td>
  </tr>
</table>
